import ItemNatureDaily from '@/components/data/item/ItemNatureDaily'
import ItemNatureMonth from '@/components/data/item/ItemNatureMonth'
import ItemRegionDaily from '@/components/data/item/ItemRegionDaily'
import ItemRegionMonth from '@/components/data/item/ItemRegionMonth'

const routers = [
  {path: 'item-nature/dailies', component: ItemNatureDaily},
  {path: 'item-nature/months', component: ItemNatureMonth},
  {path: 'item-region/dailies', component: ItemRegionDaily},
  {path: 'item-region/months', component: ItemRegionMonth}
]

const menu = {
  title: '项目报表',
  icon: 'th-large',
  flag: false,
  sons: [
    {
      title: '项目词性日报',
      icon: 'list',
      path: '/data/item-nature/dailies',
      perm: 'analysisItemKeyword:itemNatureDay',
      flag: false
    },
    {
      title: '项目词性月报',
      icon: 'list',
      path: '/data/item-nature/months',
      perm: 'analysisItemKeyword:itemNaturePerformance',
      flag: false
    },
    {
      title: '项目地域日报',
      icon: 'list',
      path: '/data/item-region/dailies',
      perm: 'analysisItemRegion:provinceCityDay',
      flag: false
    },
    {
      title: '项目地域月报',
      icon: 'list',
      path: '/data/item-region/months',
      perm: 'analysisItemRegion:itemRegionPerformance',
      flag: false
    }
  ]
}

export default {
  routers,
  menu
}
